package com.coin900.coin.service.sop;

import com.coin900.coin.persist.sop.SopMenuVO;
import com.value.mybatis.Pagination;

import java.util.List;
import java.util.Map;

/**
 * @author shui
 * @create 2018-01-05
 **/
public interface ISopMenuService{

    /**
     * 条件查询
     *
     * @param params
     * @return
     */
    List<SopMenuVO> loadSopMenu(Map<String, Object> params);

    /**
     * 分页查询
     *
     * @param pagination
     * @return
     */
    List<SopMenuVO> loadSopMenuForPage(Pagination pagination);

    void insertSopMenu(SopMenuVO sopMenuVO);

    void updateSopMenu(SopMenuVO sopMenuVO);

    void deleteSopMenu(SopMenuVO sopMenuVO);

}